//
//  UIDevice+Hardware.h
//  OMTCoreKit
//
//  Created by 昭荣伊 on 2018/7/27.
//

#import <UIKit/UIKit.h>

@interface UIDevice (Hardware)

/**
 设备名称
 */
@property (nonatomic, copy, readonly) NSString *omt_deviceName;

/**
 广告 ID
 */
@property (nonatomic, copy, readonly) NSString *omt_IDFA;

/**
 设备的 UDID（IDFA 或生成的 UUID, 此值会放到 Keychain 当中）
 */
@property (nonatomic, copy, readonly) NSString *omt_UDID;

/**
 系统启动时间
 */
@property (nonatomic, strong, readonly) NSDate * omt_systemBootTime;

/**
 CPU 数量
 */
@property (nonatomic, assign, readonly) NSInteger omt_cpuCount;

/**
 ip地址
 */
@property (nonatomic, copy, readonly) NSString *omt_IPAddress;

/**
 当前电量
 */
@property (nonatomic, assign, readonly) NSInteger omt_batteryLevel;

/**
 运营商编码
 */
@property (nonatomic, copy, readonly) NSString *omt_carrier;

/**
 运营商名字
 */
@property (nonatomic, copy, readonly) NSString *omt_carrierName;

/**
 设备是否开启定位
 */
@property (nonatomic, assign, readonly) BOOL omt_isAllowLocation;

/**
 设备是否开启远程推送
 */
@property (nonatomic, assign, readonly) BOOL omt_isAllowNotifications;

/**
 设备是否越狱
 */
@property (nonatomic, assign, readonly) BOOL omt_isJailBroken;

@end
